package uk.ac.cam.cl.android.jwdb;

import android.widget.Button;

public class DropIt implements Action {
	Level level;
	Button button;

	@Override
	public void display(Button button,Level level) {
		button.setText("Drop It (carefully)");
		this.level = level;
		this.button = button;
	}

	@Override
	public boolean check() {
		LiftListener.registerDropListener(this);
		return true;
	}

	@Override
	public void done(){
		level.nextAction();
	}
}
